Index lookups
\defineregister[Person][]
\defineprocessor[italics][style=italicface]
\define[1]\Passim{\emph{passim}}
\defineprocessor[passim][command=\Passim]
\define[1]\nPerson{%
\expanded{\Person{\ctxlua{userdata.Lookup("#1")}}}%
}
\define[1]\TPerson{%
\expanded{\Person[kursiv->
Replacing \smallcaps with \sc fixed it. I had assumed they were synonyms---the
same as \bf vs \boldface, \it vs \italicface, but it seems they are different
entirely?
Thanks!
--Joel
On Sunday, April 24, 2022, 11:19:10 AM MDT, Henning Hraban Ramm via
ntg-context wrote:
Am 24.04.22 um
s[state=repeat]
\starttext
\setlayer [testlayer] [x=1cm,y=1cm] {Text background}
\dorecurse{4}{xxx\page}
\stoptext
\starttext
text {\italicface text {\boldface text} text} text
text {\it text {\bf text} text} text: here the third instance of text is in
boldface, but not in italic bol
usemodule[ipsum]
\showframe
\setuplayout[
width=100mm,
rightmargin=50mm,
rightmargindistance=6mm,
]
\setupbodyfontenvironment[11pt][
em=italicface,
text=11pt,
small=8pt,
interlinespace=14pt,
]
\definebodyfontenvironment[8pt][interlinespace=8pt]
\setupbodyfont[rm,11pt]
\define\PlaceFoot
> On 29 Jan 2022, at 18:03, Denis Maier via ntg-context
> wrote:
>
> IDK, but then it's probably a font issue?
> […]
> This thread is outdated, you can now stack styles.
>
> \starttext
>
> text {\italicface text {\boldface text} text} text
>
> \stoptex
can now stack styles.
\starttext
text {\italicface text {\boldface text} text} text
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.
doesn't this have {\bi bold and italics} in it?
\stopitemize
See also: https://www.mail-archive.com/ntg-context@ntg.nl/msg4.html
This thread is outdated, you can now stack styles.
\starttext
text {\italicface text {\boldface text} text} text
\stoptext
Wolfgang
Henning Hraban Ramm via ntg-context schrieb am 02.10.2021 um 11:46:
Am 02.10.2021 um 10:34 schrieb Wolfgang Schuster via ntg-context
:
Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:49:
Wolfgang (off-list),
It is simply wrong to say that \italicface as defined gives only \it or \bi
> Am 02.10.2021 um 10:34 schrieb Wolfgang Schuster via ntg-context
> :
>
> Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:49:
>>
>> Wolfgang (off-list),
>>
>> It is simply wrong to say that \italicface as defined gives only \it or \bi
&g
Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:49:
Wolfgang (off-list),
It is simply wrong to say that \italicface as defined gives only \it
or \bi as a result. Look at the definition. If the current
fontalternative is it \it it will give a \tf result. It is sensitive
to the current
Wolfgang (off-list),
It is simply wrong to say that \italicface as defined gives only \it or
\bi as a result. Look at the definition. If the current fontalternative
is it \it it will give a \tf result. It is sensitive to the current
state in a similar way that \em and \emph
Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:20:
On 9/26/2021 16:29, Wolfgang Schuster via ntg-context wrote:
Rik Kabel via ntg-context schrieb am 26.09.2021 um 22:13:
Hello list mavens,
What are the circumstances under which style=italicface should be
used instead of style=italic
On 9/26/2021 16:29, Wolfgang Schuster via ntg-context wrote:
Rik Kabel via ntg-context schrieb am 26.09.2021 um 22:13:
Hello list mavens,
What are the circumstances under which style=italicface should be
used instead of style=italic. I note a difference when I define
highlighting. I
Rik Kabel via ntg-context schrieb am 26.09.2021 um 22:13:
Hello list mavens,
What are the circumstances under which style=italicface should be used
instead of style=italic. I note a difference when I define
highlighting. I expected to see no difference in the line before and
line after
Hello list mavens,
What are the circumstances under which style=italicface should be used
instead of style=italic. I note a difference when I define highlighting.
I expected to see no difference in the line before and line after the
hairline the example below, but see that italicface adapts
ss] [sans] [modern] [default]
\definetypeface [ka] [tt] [mono] [modern] [default]
\definetypeface [ka] [mm] [math] [modern] [default]
\definetypeface [ka] [hw] [handwriting] [comicsans] [default]
\stoptypescript
\setupbodyfont[ka,rm,18pt]
\setupbodyfontenvironment[default][em=italicface]
\de
suppose you’ll remember; I left out the Lua table lookup
for unified entries):
\defineprocessor[kursiv][style=italicface]
\define[1]\nIndex{\doifmodeelse{*footnote}{%
\expanded{\index[kursiv->]{#1}}}%
}{%
\expanded{\index{#1}}}%
}}
(2)
Can I avoid linebreaking of page ranges in \placein
footnotes), and I could avoid manually analyzing the structure
if my macro could determine on its own if it’s called from a footnote.
Not-working example:
\setupinteraction[state=start]
\defineprocessor[kursiv][style=italicface]
\define[1]\Idx{\doifmodeelse{*footnote}{\index{#1}}{\index[kursiv
>> footnotes, or footnotes within footnotes), and I could avoid manually
>> analyzing the structure if my macro could determine on its own if it’s
>> called from a footnote.
>> Not-working example:
>> \setupinteraction[state=start]
>> \defineprocessor[k
own if it’s called from a footnote.
Not-working example:
\setupinteraction[state=start]
\defineprocessor[kursiv][style=italicface]
\define[1]\Idx{\doifmodeelse{*footnote}{\index{#1}}{\index[kursiv->]{kursiv->#1}}#1}
\starttext
Text
---
\index[C]{A}{B}\footnote{Inside\index{FN}}\in
example:
\setupinteraction[state=start]
\defineprocessor[kursiv][style=italicface]
\define[1]\Idx{\doifmodeelse{*footnote}{\index{#1}}{\index[kursiv->]{kursiv->#1}}#1}
\starttext
Text
---
\index[C]{A}{B}\footnote{Inside\index{FN}}\index{BF}
---
\placeregister[index][criterium=all]
\st
ded\ctxlua).
\expanded needs a argument, i.e. \expanded{...}
Now,
\def\TOrt#1{\expanded{\Ort{\ctxlua{userdata.Lookup("#1")}}}#1} % Loc + Text
\defineprocessor[kursiv][style=italicface]
\def\TFOrt#1{\expanded{\Ort[kursiv->]{\ctxlua{userdata.Lookup("#1")}}}#1} % Loc
in Foot
\def\TOrt#1{\expanded{\Ort{\ctxlua{userdata.Lookup("#1")}}}#1} % Loc + Text
\defineprocessor[kursiv][style=italicface]
\def\TFOrt#1{\expanded{\Ort[kursiv->]{\ctxlua{userdata.Lookup("#1")}}}#1} % Loc
in Footnote + Text
works. :)
(I always define \TIndex to avoid doubling,
n body text and ToC? (Body text is not a
problem.)
MNWE:
\setuphead[chapter][page=yes,style={\ss\bfc}]
\setuphead[section][page=no,style={\ss\bfa}]
\definehighlight[emph][style=\it]
\definestyle[emph][style=\italicface]
Wo
\normalslantedface == \slantedface
\normalitalicface == \italicface
\swaptypeface == \swapface
\stoptyping
\stoptext
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061
25 matches
Mail list logo